import { Result } from 'antd';

import styles from './index.module.scss';

export type Exception404Props = React.PropsWithChildren & {};

const Exception404: React.FC<Exception404Props> = ({ children }) => {
  return (
    <div className={styles['exception']}>
      <Result status="404" title="404" subTitle="抱歉, 您访问的页面不存在" extra={children} />
    </div>
  );
};

export default Exception404;
